package com.flow.engine.service.handler;

import com.flow.engine.entity.User;
import com.flow.engine.handle.SendSMSHandler;
import org.springframework.stereotype.Service;

import java.text.MessageFormat;

/**
 * @author ly163
 */
@Service("auditSmsHandler")
public class AuditSmsHandler implements SendSMSHandler {
    @Override
    public boolean sendSMS(Long flowId,String auditUserId,User user, String message) {
        System.out.println(MessageFormat.format("{0} 你好，你有待审核信息，{1} {2}",auditUserId,flowId,message));
        return true;
    }
}
